package com.dev.ac.exception;

/**
 * @Author 付
 * @Date 2024-03-14 17:58
 * @Version 1.0
 * @description
 * @since 1.0
 */
public class WebException extends RuntimeException{
	private int code=500;
	private String msg;

	public WebException(String msg){
		super(msg);
		this.msg = msg;
	}

	public WebException(String msg,int code){
		super(msg);
		this.msg = msg;
		this.code = code;
	}
}